<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:70:"/www/wwwroot/xunda-college/application/atxunda/view/user/dianping.html";i:1702273631;s:69:"/www/wwwroot/xunda-college/application/atxunda/view/index/header.html";i:1700617178;}*/ ?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>后台管理系统</title>
<link rel="stylesheet" href="__PUBLIC__css/pintuer.css?v=1.0">
<link rel="stylesheet" href="__PUBLIC__admin/admin.css">
<link rel="stylesheet" href="__PUBLIC__layui/css/layui.css">
<script src="__PUBLIC__js/jquery.js"></script>
<script src="__PUBLIC__js/pintuer.js"></script>
<script src="__PUBLIC__js/cookie.js"></script>
<script src="__PUBLIC__layui/layui.js"></script>
</head>
<style type="text/css">
	.refresh{width: 20px;height: 20px;float: right;margin:10px 20px;display: block;}
</style>
</head>
<?php if(request()->controller() != 'Index'): ?><img src="__PUBLIC__images/refresh.png" class="refresh" title="刷新"><?php endif; ?>
<script type="text/javascript">
	$('.refresh').click(function(){layer.msg('刷新中……');window.location.reload();})
</script>
<script type="text/javascript">
	function openwinx(url,name,w,h) {
		if(!w) w=screen.width-4;
		if(!h) h=screen.height-95;
		window.open(url,name,"width=" + w + ",height=" + h + ",toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,status=no");
	}
</script>
<block name="css">
	<script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/ueditor.config.js"></script>
	<script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/ueditor.all.min.js"> </script>
	<script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/lang/zh-cn/zh-cn.js"></script>
</block>
<script type="text/javascript" src="__PUBLIC__admin/UEditor/third-party/SyntaxHighlighter/shCore.js"></script>
<link rel="stylesheet" href="__PUBLIC__admin/UEditor/third-party/SyntaxHighlighter/shCoreDefault.css">
<script type="text/javascript">
	SyntaxHighlighter.all();
</script>
<body>
	<div class="panel admin-panel margin-top" id="add">
		<div class="panel-head"><strong><span class="icon-pencil-square-o"></span> 实操点评</strong></div>
		<div class="body-content">
			<form method="post" class="form-x" action="">    
				<div class="form-group">
					<div class="label">
						<label>课程：</label>
					</div>
					<div class="label" style="width:5%;overflow:inherit">
						<label><?php echo $data['nav_name']; ?><br/><?php echo $data['type_name']; ?><br/><?php echo $data['s_name']; ?><br/><?php echo $data['course_name']; ?></label>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>学生身份：</label>
					</div>
					<div class="label" style="width:5%;overflow:inherit">
						<label><?php echo $data['know_nickname']; ?><br/><?php echo $data['know_phone']; ?><br/><?php echo returnUserDispose($data['user_id']); ?></label>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>学生实操作业：</label>
					</div>
					<div class="field">
						<?php echo $data['content']; ?>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>点评：</label>
					</div>
					<div class="field">
						<textarea name="content" id="editor" style="width:845px; height:460px;" data-validate="required:内容为空"><?php echo returnAdminTrain($data['id']); ?></textarea>
						<div class="tips">点评</div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>成绩：</label>
					</div>
					<div class="field">
						<div class="button-group radio">
							<input name="grade" value="1" type="radio" <?php if($data['grade'] == 1): ?>  checked="checked" <?php endif; ?>>成功
							<input name="grade" value="2" type="radio" <?php if($data['grade'] == 2): ?>  checked="checked" <?php endif; ?>>失败
							<input name="grade" value="0" type="radio" <?php if($data['grade'] == 0): ?>  checked="checked" <?php endif; ?>>未点评
						</div>
					</div>
				</div>
				<input type="hidden" name="id" value="<?php echo $data['id']; ?>">
				<div class="form-group">
					<div class="label">
						<label></label>
					</div>
					<div class="field">
						<button class="button bg-main icon-check-square-o" type="submit" onclick="refersh_window()"> 提交</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</body></html>
<script>
	function refersh_window() {
		setcookie('refersh_time', 1);
	}
	var ue = UE.getEditor('editor');
</script>